package com.ibeeking.gmc.global.service.common.dos;

import com.ibeeking.found.common.base.BaseDO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName TenantAuthDO
 * @Description
 * @Author ibeeking
 * @Date 2020-12-23 13:43
 **/
@Data
@TableName("gmc_tenant_auth")
public class TenantAuthDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 租户id
     */
    @TableField(value = "tenant_id")
    private Integer tenantId;

    /**
     * 目标租户id
     */
    @TableField(value = "target_tenant_id")
    private Integer targetTenantId;

    /**
     * 授权范围，1-全部，2-部分
     */
    @TableField(value = "auth_scope")
    private Integer authScope;

    /**
     * 授权状态，1-申请中/待审核，2-被拒绝/已拒绝，3-同意
     */
    @TableField(value = "status")
    private Integer status;
}
